// 取地址栏名字调用模块
var a=location.href.split('/');
var hz=a[a.length-1].split('.html');
hz=hz[0];
console.log(hz);
if(hz===''||hz==='index'){
    require(['yiguo','autolg']);
}else if(hz==='register'){
    require(['register']);    
}else if(hz==='login'){
    require(['login']); 
}else if(hz==='details'){
    require(['details','autolg']); 
}else if(hz=='cart'){
    require(['cart','autolg']);
}

